# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'UIs/MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(450, 800)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setContentsMargins(10, 10, 10, 10)
        self.gridLayout.setSpacing(10)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.imageLabel = QtWidgets.QLabel(self.centralwidget)
        self.imageLabel.setMaximumSize(QtCore.QSize(419, 229))
        self.imageLabel.setText("")
        self.imageLabel.setPixmap(QtGui.QPixmap("UIs/../resource/logo.png"))
        self.imageLabel.setObjectName("imageLabel")
        self.horizontalLayout_6.addWidget(self.imageLabel)
        self.gridLayout.addLayout(self.horizontalLayout_6, 0, 0, 1, 1)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.newButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.newButton.sizePolicy().hasHeightForWidth())
        self.newButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(18)
        self.newButton.setFont(font)
        self.newButton.setObjectName("newButton")
        self.horizontalLayout_5.addWidget(self.newButton)
        self.gridLayout.addLayout(self.horizontalLayout_5, 1, 0, 1, 1)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.libraryButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.libraryButton.sizePolicy().hasHeightForWidth())
        self.libraryButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(18)
        self.libraryButton.setFont(font)
        self.libraryButton.setObjectName("libraryButton")
        self.horizontalLayout_4.addWidget(self.libraryButton)
        self.gridLayout.addLayout(self.horizontalLayout_4, 2, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.methodologyButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.methodologyButton.sizePolicy().hasHeightForWidth())
        self.methodologyButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(18)
        self.methodologyButton.setFont(font)
        self.methodologyButton.setObjectName("methodologyButton")
        self.horizontalLayout.addWidget(self.methodologyButton)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.aboutProgramButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.aboutProgramButton.sizePolicy().hasHeightForWidth())
        self.aboutProgramButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(18)
        self.aboutProgramButton.setFont(font)
        self.aboutProgramButton.setObjectName("programInformationButton")
        self.horizontalLayout_2.addWidget(self.aboutProgramButton)
        self.gridLayout.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(10)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.exitButton = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.exitButton.sizePolicy().hasHeightForWidth())
        self.exitButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(18)
        self.exitButton.setFont(font)
        self.exitButton.setObjectName("exitButton")
        self.horizontalLayout_3.addWidget(self.exitButton)
        self.gridLayout.addLayout(self.horizontalLayout_3, 5, 0, 1, 1)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.horizontalLayout_7.addWidget(self.label)
        self.gridLayout.addLayout(self.horizontalLayout_7, 6, 0, 1, 1)
        self.gridLayout.setRowStretch(0, 11)
        self.gridLayout.setRowStretch(1, 3)
        self.gridLayout.setRowStretch(2, 3)
        self.gridLayout.setRowStretch(3, 3)
        self.gridLayout.setRowStretch(4, 3)
        self.gridLayout.setRowStretch(5, 3)
        self.gridLayout.setRowStretch(6, 1)

        self.imageLabel.setPixmap(QtGui.QPixmap("converted_uis/../resource/logo1.png"))
        #self.imageLabel.resize(QtCore.QSize(419, 229))

        self.newButton.clicked.connect(MainWindow.new_verse_button_clicked)
        self.libraryButton.clicked.connect(MainWindow.library_button_clicked)
        self.methodologyButton.clicked.connect(MainWindow.methodology_button_clicked)
        self.aboutProgramButton.clicked.connect(MainWindow.about_programm_button_clicked)
        self.exitButton.clicked.connect(MainWindow.exit_button_clicked)

        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.newButton.setText(_translate("MainWindow", "Новый стих"))
        self.libraryButton.setText(_translate("MainWindow", "Библиотека"))
        self.methodologyButton.setText(_translate("MainWindow", "Методика"))
        self.aboutProgramButton.setText(_translate("MainWindow", "О программе"))
        self.exitButton.setText(_translate("MainWindow", "Выход"))
        self.label.setText(_translate("MainWindow", "Created by Ostapenko Artem with Qt5 Designer"))
